<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\Engine\BaseModel;
use Illuminate\Database\Eloquent\Model;

/**
 * Class Chicken
 *
 * @property int $id
 * @property int $uid
 * @property int $grade
 * @property int $experience
 * @property int $food
 * @property int|null $rank
 * @property int $consume_food
 * @property int $hunger
 * @property int $created_at
 * @property int $limit
 * @property int $updated_at
 *
 * @package App\Models
 */
class Chicken extends BaseModel
{
	protected $table = 'chickens';

	protected $casts = [
		'uid' => 'int',
		'grade' => 'int',
		'experience' => 'int',
		'food' => 'int',
		'rank' => 'int',
		'consume_food' => 'int',
		'hunger' => 'int',
		'created_at' => 'int',
		'updated_at' => 'int'
	];

	protected $fillable = [
		'uid',
		'grade',
		'experience',
		'food',
		'rank',
		'consume_food',
		'hunger',
        'limit'
	];


}
